package com.megalith.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @Author lfp
 * @Date 2022/7/15
 * @Version 1.0
 */
@Data
@ApiModel(value = "StaffApplyDTO",description = "员工ApplyDTO")
public class StaffApplyDTO {
    @ApiModelProperty(value = "员工姓名",required = true)
    @NotBlank(message = "name不能为空")
    private String name;

    @ApiModelProperty(value = "部门经理",required = true)
    @NotBlank(message = "manager 不能为空")
    private String manager;

    @ApiModelProperty(value = "总经理",required = true)
    @NotBlank(message = "generalManager 不能为空")
    private String generalManager;

    @ApiModelProperty(value = "人力资源",required = true)
    @NotBlank(message = "humanResources 不能为空")
    private String humanResources;

}
